package com.xsf.jieyou.provider.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "tb_album")
public class TbAlbum implements Serializable {
    @Id
    @Column(name = "album_id")
    private Long albumId;

    /**
     * 图片
     */
    @Column(name = "main_image")
    private String mainImage;

    /**
     * 标题
     */
    @Column(name = "album_title")
    private String albumTitle;

    @Column(name = "start_time")
    private Date startTime;

    /**
     * 状态 1:在拍  0:结束
     */
    @Column(name = "`state`")
    private Integer state;

    @Column(name = "created")
    private Date created;

    @Column(name = "updated")
    private Date updated;

    private static final long serialVersionUID = 1L;
}